package com.disease.api.service.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.disease.api.service.entity.BaseUser;
import com.disease.api.service.entity.HospitalInfo;
import org.apache.ibatis.annotations.Param;

@DS("master")
public interface HospitalInfoMapper extends BaseMapper<HospitalInfo>{

    HospitalInfo findHospitalByOrgCode(@Param("orgCode") String orgCode);

    HospitalInfo selectOne();

    void updateHospitalInfo(HospitalInfo hospitalInfo);

    int insert(HospitalInfo hospitalInfo);

}
